home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
printing
/
vsview17
/
ffx.frm
< prev
next >
Wrap
Text File
|
1994-11-04
|
11KB
|
345 lines
VERSION 2.00
Begin Form fFX
BackColor = &H00C0C0C0&
Caption = "Special FX"
ClientHeight = 4170
ClientLeft = 300
ClientTop = 2175
ClientWidth = 8820
Height = 4665
Left = 195
LinkTopic = "Form3"
ScaleHeight = 4170
ScaleWidth = 8820
Top = 1785
Width = 9030
Begin vsInForm vsInForm1
BarColor = &H00C0C0C0&
BarColorInactive= &H00C0C0C0&
BarHeight = 30
BarStyle = 3 'Raised
ButtonsLeft = 0 '0
ButtonsRight = 1 '1
CapAlign = 1 'Left Center
CapColor = &H00C0C0C0&
CapColorInactive= &H00C0C0C0&
CapStyle = 1 'Raised
Caption = " vsInForm: Custom Borders on Forms and Controls"
ConvInfo = FFX.FRX:0000
FontBold = -1 'True
FontItalic = 0 'False
FontName = "Arial"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
FrameColor = &H00C0C0C0&
FrameColorInactive= &H00C0C0C0&
FrameCorners = 0 'False
FrameSizing = 0 'None
FrameStyle = 3 'Raised Form
Left = 3300
PictRight0 = FFX.FRX:000B
Top = 2085
End
Begin Frame Frame2
BackColor = &H00C0C0C0&
Caption = "Frame"
Height = 1695
Left = 105
TabIndex = 8
Top = 210
Width = 3075
Begin CheckBox Check1
Alignment = 1 'Right Justify
BackColor = &H00C0C0C0&
Caption = "Corners"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 225
Left = 315
TabIndex = 15
Top = 1365
Width = 1170
End
Begin ComboBox Combo6
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 11
Tag = "Left"
Top = 300
Width = 1815
End
Begin ComboBox Combo5
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 10
Tag = "Left"
Top = 600
Width = 1815
End
Begin ComboBox Combo4
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 9
Tag = "Left"
Top = 900
Width = 1815
End
Begin Label Label6
BackStyle = 0 'Transparent
Caption = "Style"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 14
Top = 360
Width = 555
End
Begin Label Label5
BackStyle = 0 'Transparent
Caption = "Resizing"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 13
Top = 660
Width = 735
End
Begin Label Label4
BackStyle = 0 'Transparent
Caption = "Width"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 12
Top = 960
Width = 555
End
End
Begin Frame Frame1
BackColor = &H00C0C0C0&
Caption = "Caption"
Height = 1380
Left = 105
TabIndex = 1
Top = 1995
Width = 3075
Begin ComboBox Combo3
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 6
Tag = "Left"
Top = 900
Width = 1815
End
Begin ComboBox Combo2
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 4
Tag = "Left"
Top = 600
Width = 1815
End
Begin ComboBox Combo1
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 2
Tag = "Left"
Top = 300
Width = 1815
End
Begin Label Label3
BackStyle = 0 'Transparent
Caption = "Height"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 7
Top = 960
Width = 555
End
Begin Label Label2
BackStyle = 0 'Transparent
Caption = "Align"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 5
Top = 660
Width = 555
End
Begin Label Label1
BackStyle = 0 'Transparent
Caption = "Style"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 180
TabIndex = 3
Top = 360
Width = 555
End
End
Begin PictureBox Picture1
Height = 3705
Left = 3780
Picture = FFX.FRX:00DD
ScaleHeight = 3300
ScaleWidth = 4215
TabIndex = 0
Top = 210
Width = 4425
Begin vsInForm VSi
BarColor = &H00C0C0C0&
BarColorInactive= &H00C0C0C0&
BarHeight = 13
ButtonsLeft = 3 '3
ButtonsRight = 3 '3
Caption = "Floating Picture Box"
ConvInfo = FFX.FRX:3E93
CustomFrame = -1 'True
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Small Fonts"
FontSize = 6.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
FrameColor = &H00C0C0C0&
FrameColorInactive= &H00C0C0C0&
FrameCorners = 0 'False
Left = 210
PictLeft0 = FFX.FRX:3E9E
PictLeft1 = FFX.FRX:3F68
PictLeft2 = FFX.FRX:4032
PictRight0 = FFX.FRX:40FC
PictRight1 = FFX.FRX:41C6
PictRight2 = FFX.FRX:4290
Top = 1020
End
End
End
Option Explicit
Sub Check1_Click ()
VSi.FrameCorners = Not VSi.FrameCorners
End Sub
Sub Combo1_Click ()
VSi.BarStyle = Val(Combo1)
End Sub
Sub Combo2_Click ()
VSi.CapAlign = Val(Combo2)
End Sub
Sub Combo3_Click ()
VSi.BarHeight = Val(Combo3)
End Sub
Sub Combo4_Click ()
VSi.FrameWidth = Val(Combo4)
End Sub
Sub Combo5_Click ()
VSi.FrameSizing = Val(Combo5)
End Sub
Sub Combo6_Click ()
VSi.FrameStyle = Val(Combo6)
End Sub
Sub Form_Load ()
VSinform1.CustomFrame = True
' cap style
Combo1.AddItem "0 - None"
Combo1.AddItem "1 - Flat"
Combo1.AddItem "2 - No Border"
Combo1.AddItem "3 - Raised"
Combo1.AddItem "4 - Inset"
Combo1.ListIndex = 3
' cap align
Combo2.AddItem "1 - Left Center"
Combo2.AddItem "4 - Center Center"
Combo2.AddItem "7 - Right Center"
Combo2.ListIndex = 1
' cap height
Combo3.AddItem "0 - Default"
Combo3.AddItem "12"
Combo3.AddItem "15"
Combo3.AddItem "25"
Combo3.ListIndex = 3
' frame style
Combo6.AddItem "0 - None"
Combo6.AddItem "1 - Classic"
Combo6.AddItem "2 - Outside"
Combo6.AddItem "3 - Raised Form"
Combo6.AddItem "4 - Raised Frame"
Combo6.ListIndex = 3
' resizing
Combo5.AddItem "0 - None"
Combo5.AddItem "1 - Horizontal"
Combo5.AddItem "2 - Vertical"
Combo5.AddItem "3 - Both"
Combo5.AddItem "4 - Locked"
Combo5.ListIndex = 3
' frame width
Combo4.AddItem "0 - Default"
Combo4.AddItem "3"
Combo4.AddItem "5"
Combo4.AddItem "8"
Combo4.AddItem "12"
Combo4.ListIndex = 3
End Sub
Sub VSInForm1_ClickRButton (Button As Integer)
Unload Me
End Sub